package org.codeart.apipassenger.remote;

import org.codeart.common.util.R;
import org.codeart.common.request.EstimatedPriceDTO;
import org.codeart.common.response.PriceResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "service-price")
public interface ServicePriceClient {

    @PostMapping("/price/estimated")
    R<PriceResponse> estimatedPrice(@RequestBody EstimatedPriceDTO estimatedPriceDTO);

}
